package com.douqu.game.core.e;

/**
 * @author: miracle.
 * Description: 玩家下线类型
 * Date: 2018/7/23 0023 下午 4:48
 * Huan Yu Copyright (c) 2017 All Rights Reserved.
 */
public enum E_OffLineType implements BaseEnum{
    OFFLINE_CLIENT_ACTIVE(1,"客户端主动断开"),
    OFFLINE_REPEAT_LOGIN(2,"重复登录,T掉之前"),
    OFFLINE_OVERTIME(3,"超时,T下线"),
    OFFLINE_GM(3, "GM"),
    OFFLINE_SERVER_MAINTAIN(4, "服务器维护T下线")
    ;

    int code;

    String msg;

    E_OffLineType(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
